﻿<%@ Page Language="C#" AutoEventWireup="true"  EnableEventValidation="false"   CodeBehind="EmployeeAnalysis.aspx.cs" Inherits="DBA.Web.Analysis.EmployeeAnalysis" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" />

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title></title>
<link href="../../Styles/azure/style.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="../../Styles/css/core.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="../../Scripts/lhgdialog/skins/default.css" rel="stylesheet" type="text/css" />
<!--[if IE]>
<link href="themes/css/ieHack.css" rel="stylesheet" type="text/css" media="screen"/>
<![endif]-->
    <script src="../../Scripts/jquery-1.7.1.js" type="text/javascript"></script>
<script src="../../Scripts/jquery.bgiframe.js" type="text/javascript"></script>
<script src="../../Scripts/dwz.core.js" type="text/javascript"></script>
<script src="../../Scripts/dwz.ui.js" type="text/javascript"></script>
<script src="../../Scripts/dwz.sortDrag.js" type="text/javascript"></script>
<script src="../../Scripts/dwz.cssTable.js" type="text/javascript"></script>
<script src="../../Scripts/dwz.stable.js" type="text/javascript"></script>
<script src="../../Scripts/dwz.pagination.js" type="text/javascript"></script>
    <script src="../../Scripts/dwz.drag.js" type="text/javascript"></script>
    <script src="../../Scripts/dwz.barDrag.js" type="text/javascript"></script>
    <script src="../../Scripts/lhgdialog/lhgdialog.js" type="text/javascript"></script>
    <script src="/Scripts/date/WdatePicker.js" type="text/javascript"></script>
    <link href="../../Styles/CommonEdit.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/Public.js" type="text/javascript"></script>
    <link href="../Styles/table.css" rel="stylesheet" type="text/css" />
    <style type="text/css">

.alt td {
 background:#effafc;
}

</style>


<!--
<script src="bin/dwz.min.js" type="text/javascript"></script>
-->

    <script type="text/javascript">
        function openDetail(id) {         
            Public.ShowWindow("查看教师详细", "/Analysis/EmployeeDetailAnalysis.aspx?EmployeeID=" + id + "&Year="+$("#hidYear").val()+"&o=" + Math.round(), 900, 469, null, false, function () { Public.RefreshTable('AspNetPager1'); });
        }
        function searchHandler() {
            __doPostBack("linkBtnSearch", "");
        }
        function initTable(_box) {
            var $p = $(_box || document);
            //tables
            $("table.table", $p).jTable();
            // css tables
            $('table.list', $p).cssTable();
        }
        function ddd() {
            $("#dialog-form").dialog("open");
        }
        function addDate() {
            Public.ShowWindow('添加教师公共服务', "../PublicService/PublicServiceAdd.aspx", 700, 369);
        }
        function DownLoadExcel() {
            Public.CallBack("lnkDownload");
        }
    </script>
    <script type="text/javascript">
        $(function () {
            //初始化
            DWZ.init("../../dwz.frag.xml");
            initTable();
            //updatepanel回调完成后初始化表格
            Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function () {
                initTable();
            });

        });
        //批量删除事件
        function deleteSelect() {
            var selectValue = $("#tableBody").getAllSelectedIntValue().join(",");
            if (selectValue != undefined && selectValue != '') {
                parent.alertMsg.confirm("是否删除选择的信息?", {
                    okCall: function () {
                        $("#hidDeleString").val(selectValue);
                        __doPostBack("linkBtnDeleSelect", "");
                    }
                });
            } else {
                parent.alertMsg.info("请选择要删除要的数据");
            }
        }
	</script>
</head>
<body style="background-color:#fff;">
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>    
    <div class="pageHeader">
      <div class="searchBar" style="text-align:left;">
		<table class="searchContent">
			<tr align="left">
				<td>
					姓名：<asp:TextBox ID="txt_Name" runat="server" style="width:80px;" CssClass="textInput"></asp:TextBox>
				</td>
				<td>
					系：<asp:DropDownList ID="ddlXi" runat="server" Height="20px" Width="142px">
                            </asp:DropDownList>
				</td>
				<td>
					年度：<input class="in_sty required" readonly id="txt_Year" type="text" runat="server" style="text-align:left;" onfocus="WdatePicker({dateFmt:'yyyy'})"/>
				</td>
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button  onclick="javascript:searchHandler();return false;">检索</button></div></div></li>
				<li><div class="buttonActive" runat="server" id="divExcel"><div class="buttonContent"><button  onclick="javascript:DownLoadExcel();return false;">下载Excel</button></div></div></li>
			</ul>
		</div>
        <div style="display:none;">
                    <asp:UpdatePanel ID="UpdatePanel7" runat="server">
                    <ContentTemplate>
                      <asp:LinkButton ID="linkBtnSearch" runat="server" onclick="linkBtnSearch_Click" ></asp:LinkButton>      
                    </ContentTemplate>
                    </asp:UpdatePanel>
         </div>
       </div>     
	</div>
<div class="pageContent" style="height:620px;">
<%--	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="javascript:void(0);" onclick="javascript:addDate();return false;"><span>添加:</span></a></li>
			<li><a class="delete" href="javascript:void(0);" onclick="javascript:deleteSelect();return false;"><span>批量删除</span></a></li>
			<li class="line">line</li>
			<li><a class="icon" href="javascript:void(0);" onclick="javascript:DownLoadExcel();return false;"  title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
		</ul>
	</div>--%>
<asp:UpdatePanel runat="server" ID="UpdatePanel3">
<ContentTemplate>
    <asp:HiddenField ID="hdSaveID" runat="server" /> <%--保存选择的类型id--%>   

	<table class="mytable" width="6000px" layoutH="238" >
		<thead>
			<tr>
                <th rowspan="4">姓名</th>
                <th rowspan="4">系别</th>
                <th rowspan="4">专业技术职务</th>
                <th rowspan="4">入选优秀教师</br>资助奖励情况</th>              
                <th rowspan="4">要求完成率</th>
                  <th rowspan="4">工作量设置</th>
                <th rowspan="4">标准工作量</th>
                <th colspan="6">课堂教学</th>
                <th colspan="10">研究生指导</th>
                <th colspan="2">毕业论文指导</th>
                <th colspan="27">论文中间环节≥45人次</th>
                <th colspan="8">研究生面试</th>
                <th rowspan="4">教学工作量合计</th>
                <th colspan="4">发表论文</th>
                <th colspan="5">科研经费</th>
                <th rowspan="4">获奖</th>
                <th rowspan="4">科研工作量合计</th>
                <th colspan="5">公共服务</th>
                <th rowspan="4">其他工作</th>
                <th rowspan="4">总计</th>
                <th rowspan="4">岗位工作量完成率</th>
			</tr>
			<tr>
                <th colspan="4">64学时</th>
                <th rowspan="3">其他(非64学时</th>
                <th rowspan="3">小计</th>
                <th colspan="3">普研硕士生</th>
                <th colspan="3">博士生</th>
                <th colspan="4">专业学位硕士生</th>
                <th rowspan="3">指导本科学生毕业论文人数</th>
                <th rowspan="3">指导本科毕业论文工作量</th>
                <th colspan="7">博士论文人次数</th>
                <th colspan="13">硕士论文人次数</th>
                <th colspan="5">本科论文人次数</th>
                <th rowspan="3">论文中间环节人次数小计</th>
                <th rowspan="3">论文中间环节工作量</th>
                <th rowspan="3">普研博士面试人次数</th>
                <th rowspan="3">普研硕士面试人次数</th>
                <th rowspan="3">EMBA面试人次数</th>
                <th rowspan="3">MBA面试人次数</th>
                <th rowspan="3">DBA面试人次数</th>
                <th rowspan="3">工程硕士面试人次数</th>
                <th rowspan="3">研究生面试人次数小计</th>
                <th rowspan="3">研究生面试工作量小计</th>
                <th rowspan="3">权重1.0以上论文篇数</th>
                <th rowspan="3">奖励期刊明细</th>
                <th rowspan="3">论文明细</th>
                <th rowspan="3">小计</th>
                <th rowspan="3">当年全部到款经费小计</th>
                <th rowspan="3">分摊到当年的国家级项目经费</th>
                <th rowspan="3">分摊到当年的省部级项目经费</th>
                <th rowspan="3">其他项目经费</th>
                <th rowspan="3">分摊经费折算工作量小计</th>
                <th rowspan="3">公共职务</th>
                <th rowspan="3">教学类</th>
                <th rowspan="3">科研、学科类</th>
                <th rowspan="3">学生工作类</th>
                <th rowspan="3">合计</th>
			</tr>
			<tr>
                <th rowspan="2">本科</th>
                <th rowspan="2">普研(含博士)</th>
                <th rowspan="2">专业学位</th>
                <th rowspan="2">小计</th>
                <th rowspan="2">普研硕士生人数</th>
                <th rowspan="2">指导留学生人数</th>
                <th rowspan="2">指导普研硕士生工作量小计</th>
                <th rowspan="2">普研博士生人数</th>
                <th rowspan="2">DBA博士生人数</th>
                <%--<th rowspan="2">指导博士生名单</th>--%>
                <th rowspan="2">指导博士生工作量小计</th>
                <th rowspan="2">MBA</th>
                <th rowspan="2">EMBA</th>
                <th rowspan="2">工程硕士</th>
                <%--<th rowspan="2">指导专业学位硕士当年毕业学生名单</th>--%>
                <th rowspan="2">指导专业学位硕士生工作量小计</th>
                <th colspan="2">开题</th>
                <th colspan="2">评阅</th>
                <th colspan="3">答辩/预答辩</th>
                <th colspan="4">开题</th>
                <th colspan="4">评阅</th>
                <th colspan="5">答辩</th>
                <th rowspan="2">初期检查</th>
                <th rowspan="2">中期检查</th>
                <th rowspan="2">评阅</th>
                <th rowspan="2">预答辩</th>
                <th rowspan="2">答辩</th>
			</tr>
            <tr>
                <th>普研博士</th>
                <th>DBA</th>
                <th>普研博士</th>
                <th>DBA</th>
                <th>普研博士</th>
                <th>DBA</th>
                <th>担任试讲听课专家</th>
                <th>普研硕士</th>
                <th>EMBA</th>
                <th>MBA</th>
                <th>工程硕士</th>
                <th>普研硕士</th>
                <th>EMBA</th>
                <th>MBA</th>
                <th>工程硕士</th>
                <th>普研硕士</th>
                <th>留学生</th>
                <th>EMBA</th>
                <th>MBA</th>
                <th>工程硕士</th>
            </tr>
		</thead>
		<tbody id="tableBody">
        <asp:Repeater ID="replData" runat="server">
        <ItemTemplate>
			<tr target="UserID" title="<%# Eval("EmpName")%>" rel="<%# Eval("EmpName") %>" onclick="javascript:openDetail('<%# Eval("EmployeeID") %>');return false;"  style="cursor:hand;" class=<%#(Container.ItemIndex%2==0)?"\"alt\"":"\"\""%>>

                <td><%# Eval("EmpName")%></td>
                <td><%# Eval("XiName").ToString() == "" ? "无" : Eval("XiName").ToString()%></td>
                <td><%# Eval("JszwName").ToString() == "" ? "无" : Eval("JszwName").ToString()%></td>
                <td><%# Eval("GradeExcellentTeacher").ToString() == "" ? "无" : Eval("GradeExcellentTeacher").ToString()%></td>
                <td><%# Eval("A1")%></td>
                  <td><%#Eval("A2")%></td>  
                <td><%# Eval("K1")%></td>
                <td><%# Eval("B1")%></td>
                <td><%# Eval("B2")%></td>
                <td><%# Eval("B3")%></td>
                <td><%# Eval("C1")%></td>
                <td><%# Eval("B4")%></td>
                <td><%# Eval("F1")%></td>
                <td><%# Eval("D1")%></td>
                <td><%# Eval("DD7")%></td>
                <td><%# Eval("F2")%></td>
                <td><%# Eval("D2")%></td>
                <td><%# Eval("D3")%></td>
                <%--<td></td>--%>
                <td><%# Eval("F3")%></td>
                <td><%# Eval("D4")%></td>
                <td><%# Eval("D5")%></td>
                <td><%# Eval("D6")%></td>
                <%--<td></td>--%>
                <td><%# Eval("F4")%></td>
                <td><%# Eval("D7")%></td>
                <td><%# Eval("F5")%></td>
                <td><%# Eval("D801")%></td>
                <td><%# Eval("D802")%></td>
                <td><%# Eval("D811")%></td>
                <td><%# Eval("D812")%></td>
                <td><%# Eval("D821")%></td>
                <td><%# Eval("D822")%></td>
                <td><%# Eval("D823")%></td>
                <td><%# Eval("D901")%></td>
                <td><%# Eval("D902")%></td>
                <td><%# Eval("D903")%></td>
                <td><%# Eval("D904")%></td>
                <td><%# Eval("D911")%></td>
                <td><%# Eval("D912")%></td>
                <td><%# Eval("D913")%></td>
                <td><%# Eval("D914")%></td>
                <td><%# Eval("D921")%></td>
                <td><%# Eval("D925")%></td>
                <td><%# Eval("D922")%></td>
                <td><%# Eval("D923")%></td>
                <td><%# Eval("D924")%></td>
                <td><%# Eval("D1001")%></td>
                <td><%# Eval("D1002")%></td>
                <td><%# Eval("D1003")%></td>
                <td><%# Eval("D1004")%></td>
                <td><%# Eval("D1005")%></td>
                <td><%# Eval("O1")%></td>
                <td><%# Eval("F6")%></td>
                <td><%# Eval("D11")%></td>
                <td><%# Eval("D12")%></td>
                <td><%# Eval("D13")%></td>
                <td><%# Eval("D14")%></td>
                <td><%# Eval("D16")%></td>
                <td><%# Eval("D15")%></td>
                <td><%# Eval("E1")%></td>
                <td><%# Eval("F7")%></td>
                <td><%# Eval("J1")%></td>
                <td><%# Eval("G10")%></td>
                <td><%# Eval("G11")%></td>
                <td><%# Eval("G12")%></td>
                <td><%# Eval("H1")%></td>
                <td><%# Eval("O2")%></td>
                <td><%# Eval("G2")%></td>
                <td><%# Eval("G3")%></td>
                <td><%# Eval("G4")%></td>
                <td><%# Eval("H2")%></td>
                <td><%# Eval("H3")%></td>

                <td><%# Eval("J2")%></td>
                <td><%# Eval("I1")%></td>
                <td><%# Eval("I2")%></td>
                <td><%# Eval("I3")%></td>
                <td><%# Eval("I4")%></td>
                <td><%# Eval("J3")%></td>
                <td><%# Eval("J4")%></td>
                <td><%# Eval("K2")%></td>
                <td><%# Eval("O3")%></td>
			</tr>
        </ItemTemplate>
        </asp:Repeater>
		</tbody>
	</table>
    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" CustomInfoHTML="<div class='content'>第%CurrentPageIndex%/共%PageCount%页/共%RecordCount%条</div>"
                    FirstPageText="首页" LastPageText="末页" NextPageText="下页"
                    PrevPageText="上页" ShowCustomInfoSection="right" 
        ShowPageIndexBox="Never"  PageSize="8" Width="6000px" CustomInfoClass="info"
        CssClass="paginator" onpagechanging="AspNetPager1_PageChanging" >
    </webdiyer:AspNetPager>            <asp:HiddenField runat="server" ID="hidYear" />
     </ContentTemplate>
                </asp:UpdatePanel>
            
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
       <asp:LinkButton ID="lnkDownload" runat="server" onclick="lnkDownload_Click" ></asp:LinkButton>
    </ContentTemplate>
    <Triggers>
    <asp:PostBackTrigger ControlID="lnkDownload" />
    </Triggers>
    </asp:UpdatePanel>
    </div>
   
   </form>
</body>
</html>
